package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 客户表
 * </p>
 *
 * @author LX
 * @since 2018-09-05
 */
@TableName("erp_customer")
public class ErpCustomer extends Model<ErpCustomer> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户编码
     */
    @TableField("cus_code")
    private Integer cusCode;
    /**
     * 登记日期
     */
    @TableField("cus_dj_date")
    private String cusDjDate;
    /**
     * 运营类型
     */
    @TableField("cus_operate_type")
    private String cusOperateType;
    /**
     * 客户名称
     */
    @TableField("cus_name")
    private String cusName;
    /**
     * 客户昵称
     */
    @TableField("cus_nickname")
    private String cusNickname;
    /**
     * 客户地址
     */
    @TableField("cus_address")
    private String cusAddress;
    /**
     * 邮编
     */
    @TableField("cus_zip")
    private String cusZip;
    /**
     * 公司性质
     */
    @TableField("cus_nature")
    private String cusNature;
    /**
     * 法人
     */
    @TableField("cus_legal_person")
    private String cusLegalPerson;
    /**
     * 注册日期
     */
    @TableField("cus_zc_date")
    private String cusZcDate;
    /**
     * 注册资金
     */
    @TableField("cus_zc_funds")
    private String cusZcFunds;
    /**
     * 网址
     */
    @TableField("cus_url")
    private String cusUrl;
    /**
     * 车辆总数
     */
    @TableField("cus_vehicletotal")
    private Integer cusVehicletotal;
    /**
     * 客车
     */
    @TableField("cus_psacar")
    private Integer cusPsacar;
    /**
     * 货车
     */
    @TableField("cus_truck")
    private Integer cusTruck;
    /**
     * 小型车
     */
    @TableField("cus_x_car")
    private Integer cusXCar;
    /**
     * 单机
     */
    @TableField("cus_d_car")
    private Integer cusDCar;
    /**
     * 拖头
     */
    @TableField("cus_t_car")
    private Integer cusTCar;
    /**
     * 挂车
     */
    @TableField("cus_g_car")
    private Integer cusGCar;
    /**
     * 客户类型
     */
    @TableField("cus_cus_type")
    private String cusCusType;
    /**
     * 上级单位
     */
    @TableField("cus_sup_company")
    private Integer cusSupCompany;
    @TableField("cus_sup_companys")
    private String cusSupCompanys;
    /**
     * 管辖单位
     */
    @TableField("cus_service_com")
    private Integer cusServiceCom;
    @TableField("cus_service_coms")
    private String cusServiceComs;
    /**
     * 客户协议
     */
    @TableField("cus_cus_agr")
    private String cusCusAgr;
    /**
     * 分管经理
     */
    @TableField("cus_charge_manager")
    private String cusChargeManager;
    /**
     * GPS服务商
     */
    @TableField("cus_gps_facilitator")
    private String cusGpsFacilitator;
    /**
     * GPS接口
     */
    @TableField("cus_gps_interface")
    private String cusGpsInterface;
    /**
     * GPS网址
     */
    @TableField("cus_gps_url")
    private String cusGpsUrl;
    @TableField("end_date")
    private String endDate;
    /**
     * 权限类型
     */
    @TableField("cus_role_type")
    private Integer cusRoleType;
    /**
     * 联系人
     */
    private String Contacts;
    /**
     * 物料寿命
     */
    @TableField("material_life")
    private String materialLife;
    /**
     * 录入人
     */
    @TableField("create_user")
    private String createUser;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private String createTime;

    /**
     * 客户logo
     */
    @TableField("customer_logo")
    private  String customerLogo;

    /**
     * 客户密码
     *
     */
    @TableField("password")
    private String password;
    
    @TableField("cus_phone")
    private String cusPhone;
    
    @TableField("cus_wx")
    private String cusWx;
    /**
     * 竞技广告成功数量
     */
    @TableField("cheng_gong")
    private  Integer chengGong;
    /**
     * 竞技广告好评数量
     */
    @TableField("state_good")
    private  Integer stateGood;

    /**
     * 访问次数
     * @return
     */
    @TableField("number")
    private  Integer number;

    /**
     * 状态0正常,1停用,
     * @return
     */
    private  Integer state;
    
    
    public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getChengGong() {
        return chengGong;
    }

    public void setChengGong(Integer chengGong) {
        this.chengGong = chengGong;
    }

    public Integer getStateGood() {
        return stateGood;
    }

    public void setStateGood(Integer stateGood) {
        this.stateGood = stateGood;
    }

    public String getCusPhone() {
		return cusPhone;
	}

	public void setCusPhone(String cusPhone) {
		this.cusPhone = cusPhone;
	}

	public String getCusWx() {
		return cusWx;
	}

	public void setCusWx(String cusWx) {
		this.cusWx = cusWx;
	}

	public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCustomerLogo() {
        return customerLogo;
    }

    public void setCustomerLogo(String customerLogo) {
        this.customerLogo = customerLogo;
    }

    private transient  Integer groupNum;

    private transient  Integer vIPNum;

    private transient  Integer goldNum;

    public Integer getGroupNum() {
        return groupNum;
    }

    public void setGroupNum(Integer groupNum) {
        this.groupNum = groupNum;
    }
    public Integer getvIPNum() {
        return vIPNum;
    }

    public void setvIPNum(Integer vIPNum) {
        this.vIPNum = vIPNum;
    }
 
    public Integer getGoldNum() {
        return goldNum;
    }

    public void setGoldNum(Integer goldNum) {
        this.goldNum = goldNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCusCode() {
        return cusCode;
    }

    public void setCusCode(Integer cusCode) {
        this.cusCode = cusCode;
    }

    public String getCusDjDate() {
        return cusDjDate;
    }

    public void setCusDjDate(String cusDjDate) {
        this.cusDjDate = cusDjDate;
    }

    public String getCusOperateType() {
        return cusOperateType;
    }

    public void setCusOperateType(String cusOperateType) {
        this.cusOperateType = cusOperateType;
    }

    public String getCusName() {
        return cusName;
    }

    public void setCusName(String cusName) {
        this.cusName = cusName;
    }

    public String getCusNickname() {
        return cusNickname;
    }

    public void setCusNickname(String cusNickname) {
        this.cusNickname = cusNickname;
    }

    public String getCusAddress() {
        return cusAddress;
    }

    public void setCusAddress(String cusAddress) {
        this.cusAddress = cusAddress;
    }

    public String getCusZip() {
        return cusZip;
    }

    public void setCusZip(String cusZip) {
        this.cusZip = cusZip;
    }

    public String getCusNature() {
        return cusNature;
    }

    public void setCusNature(String cusNature) {
        this.cusNature = cusNature;
    }

    public String getCusLegalPerson() {
        return cusLegalPerson;
    }

    public void setCusLegalPerson(String cusLegalPerson) {
        this.cusLegalPerson = cusLegalPerson;
    }

    public String getCusZcDate() {
        return cusZcDate;
    }

    public void setCusZcDate(String cusZcDate) {
        this.cusZcDate = cusZcDate;
    }

    public String getCusZcFunds() {
        return cusZcFunds;
    }

    public void setCusZcFunds(String cusZcFunds) {
        this.cusZcFunds = cusZcFunds;
    }

    public String getCusUrl() {
        return cusUrl;
    }

    public void setCusUrl(String cusUrl) {
        this.cusUrl = cusUrl;
    }

    public Integer getCusVehicletotal() {
        return cusVehicletotal;
    }

    public void setCusVehicletotal(Integer cusVehicletotal) {
        this.cusVehicletotal = cusVehicletotal;
    }

    public Integer getCusPsacar() {
        return cusPsacar;
    }

    public void setCusPsacar(Integer cusPsacar) {
        this.cusPsacar = cusPsacar;
    }

    public Integer getCusTruck() {
        return cusTruck;
    }

    public void setCusTruck(Integer cusTruck) {
        this.cusTruck = cusTruck;
    }

    public Integer getCusXCar() {
        return cusXCar;
    }

    public void setCusXCar(Integer cusXCar) {
        this.cusXCar = cusXCar;
    }

    public Integer getCusDCar() {
        return cusDCar;
    }

    public void setCusDCar(Integer cusDCar) {
        this.cusDCar = cusDCar;
    }

    public Integer getCusTCar() {
        return cusTCar;
    }

    public void setCusTCar(Integer cusTCar) {
        this.cusTCar = cusTCar;
    }

    public Integer getCusGCar() {
        return cusGCar;
    }

    public void setCusGCar(Integer cusGCar) {
        this.cusGCar = cusGCar;
    }

    public String getCusCusType() {
        return cusCusType;
    }

    public void setCusCusType(String cusCusType) {
        this.cusCusType = cusCusType;
    }

    public Integer getCusSupCompany() {
        return cusSupCompany;
    }

    public void setCusSupCompany(Integer cusSupCompany) {
        this.cusSupCompany = cusSupCompany;
    }

    public String getCusSupCompanys() {
        return cusSupCompanys;
    }

    public void setCusSupCompanys(String cusSupCompanys) {
        this.cusSupCompanys = cusSupCompanys;
    }

    public Integer getCusServiceCom() {
        return cusServiceCom;
    }

    public void setCusServiceCom(Integer cusServiceCom) {
        this.cusServiceCom = cusServiceCom;
    }

    public String getCusServiceComs() {
        return cusServiceComs;
    }

    public void setCusServiceComs(String cusServiceComs) {
        this.cusServiceComs = cusServiceComs;
    }

    public String getCusCusAgr() {
        return cusCusAgr;
    }

    public void setCusCusAgr(String cusCusAgr) {
        this.cusCusAgr = cusCusAgr;
    }

    public String getCusChargeManager() {
        return cusChargeManager;
    }

    public void setCusChargeManager(String cusChargeManager) {
        this.cusChargeManager = cusChargeManager;
    }

    public String getCusGpsFacilitator() {
        return cusGpsFacilitator;
    }

    public void setCusGpsFacilitator(String cusGpsFacilitator) {
        this.cusGpsFacilitator = cusGpsFacilitator;
    }

    public String getCusGpsInterface() {
        return cusGpsInterface;
    }

    public void setCusGpsInterface(String cusGpsInterface) {
        this.cusGpsInterface = cusGpsInterface;
    }

    public String getCusGpsUrl() {
        return cusGpsUrl;
    }

    public void setCusGpsUrl(String cusGpsUrl) {
        this.cusGpsUrl = cusGpsUrl;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Integer getCusRoleType() {
        return cusRoleType;
    }

    public void setCusRoleType(Integer cusRoleType) {
        this.cusRoleType = cusRoleType;
    }

    public String getContacts() {
        return Contacts;
    }

    public void setContacts(String Contacts) {
        this.Contacts = Contacts;
    }

    public String getMaterialLife() {
        return materialLife;
    }

    public void setMaterialLife(String materialLife) {
        this.materialLife = materialLife;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpCustomer{" +
        ", id=" + id +
        ", cusCode=" + cusCode +
        ", cusDjDate=" + cusDjDate +
        ", cusOperateType=" + cusOperateType +
        ", cusName=" + cusName +
        ", cusNickname=" + cusNickname +
        ", cusAddress=" + cusAddress +
        ", cusZip=" + cusZip +
        ", cusNature=" + cusNature +
        ", cusLegalPerson=" + cusLegalPerson +
        ", cusZcDate=" + cusZcDate +
        ", cusZcFunds=" + cusZcFunds +
        ", cusUrl=" + cusUrl +
        ", cusVehicletotal=" + cusVehicletotal +
        ", cusPsacar=" + cusPsacar +
        ", cusTruck=" + cusTruck +
        ", cusXCar=" + cusXCar +
        ", cusDCar=" + cusDCar +
        ", cusTCar=" + cusTCar +
        ", cusGCar=" + cusGCar +
        ", cusCusType=" + cusCusType +
        ", cusSupCompany=" + cusSupCompany +
        ", cusSupCompanys=" + cusSupCompanys +
        ", cusServiceCom=" + cusServiceCom +
        ", cusServiceComs=" + cusServiceComs +
        ", cusCusAgr=" + cusCusAgr +
        ", cusChargeManager=" + cusChargeManager +
        ", cusGpsFacilitator=" + cusGpsFacilitator +
        ", cusGpsInterface=" + cusGpsInterface +
        ", cusGpsUrl=" + cusGpsUrl +
        ", endDate=" + endDate +
        ", cusRoleType=" + cusRoleType +
        ", Contacts=" + Contacts +
        ", materialLife=" + materialLife +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        "}";
    }
}
